package tjut.opp.testI19;

public class RhombusTest {

	public static void main(String[] args) {
		int i, j, k;
		//控制行数
		for (i = 1; i <= 4; i++) {
			//控制空格数
			for (k = 1; k <= 4 - i; k++) {
				System.out.print(" ");
			}
			//控制*数
			for (j = 1; j <= (2 * i - 1); j++) {
				System.out.print("*");
			}
			System.out.println();
		}
			for(i=1;i<=3;i++){
				for(k=1;k<=i;k++){
					System.out.print(" ");
				}
				for(j=1;j<=7-2*i;j++){
					System.out.print("*");
				}System.out.println();
			}

	}

}
